package com.lizx.shoppingmall.member.feign;

import com.lizx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("shoppingMall-coupon") //告诉spring cloud这个接口是一个远程客户端，要调用coupon服务(nacos中找到)，具体是调用coupon服务的/coupon/coupon/member/list对应的方法
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")  //注意是全映射
    public R membercoupons();


}
